CASE DEFAULT
Use this command in combination with SELECT, ENDCASE and ENDSELECT to create a select statement.
CASE DEFAULT:
:
Value
Enter the appropriate value here.
This command does not return a value.
A case default statement holds code below it in the event that no case statement catches the value of the variable. The case default statement must go at the end of a sequence of case statement, but above the ENDSELECT statement.
SELECT var
CASE DEFAULT:
PRINT "default"
ENDCASE
ENDSELECT
WAIT KEY
CORE Commands Menu
Index